package com.tbit.main.pojo;


import java.util.List;

/**
 * @author LMY
 * @create 2021-01-18 19:59
 * 运营分析，返回数据
 */
public class OperationData<T> {
    //名称
    private String name;
    //数据
    private List<T> data;
    //时间
    private List<String> time;
    //周数
    private List<String> week;

    public OperationData(String name, List<T> data, List<String> time) {
        this.name = name;
        this.data = data;
        this.time = time;
    }

    public OperationData() {
    }

    public List<String> getWeek() {
        return week;
    }

    public void setWeek(List<String> week) {
        this.week = week;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }

    public List<String> getTime() {
        return time;
    }

    public void setTime(List<String> time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "OperationData{" +
                "name='" + name + '\'' +
                ", data=" + data +
                ", time=" + time +
                ", week=" + week +
                '}';
    }
}
